home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 2 / L'Effet Pommier - Volume 02.iso / Réflexion / Simple Sokoban / MacSokoban docs < prev    next >
Text File  |  1992-12-21  |  17KB  |  205 lines

  1.  
  2.  
  3.                                                 MacSokoban 2.0
  4.  
  5. 1. General
  6.  
  7. The word "sokoban" is japanese, and means "warehouse keeper". The original Sokoban was the winner of a computer game contest held in Japan in the early 80's. If you know who the original programmer was, please enlighten me. The game became a commercial game on NEC computers. (Info from Takeshi Miyazaki.)
  8.  
  9. Much later, someone made a version for Unix (Curses). This game was poorly documented, which is why I didn't know anything at all about the original game when I released version 1.0 of MacSokoban.
  10.  
  11. Files in this package:
  12.  
  13. - MacSokoban 2.1:
  14. The game file itself. This single file is all you need to play the game.
  15.  
  16. - Extra:
  17. The file "Extra" supplied with the game contains the levels that were level 51 to 85 in MacSokoban 1.0. Levels 1 to 50 are kept in the game file. (See section 5.)
  18.  
  19. - MacSokoban readme (this file):
  20. Some comments and docs. This doc file is not necessary to play the game. The help screens in the game should be sufficient. This file is just a little bit more verbose.
  21.  
  22. - MacSokoban score mover:
  23. A small utility that you might need if you have an older version and want to keep your old score. See section 7.
  24.  
  25. 2. Playing
  26.  
  27. When you start the game the first time, the first thing you must do is to create an entry in the Players menu. As delivered, one player is defined, namely myself. Feel free to remove me; it just remains as an example.
  28.  
  29. The object of the game is to, for each level, rearrange a set of "gold bags" (should perhaps have been cardboard boxes) to certain positions. When you have solved all levels, you have won the game. There is another kind of score kept, but don't bother about it for now.
  30.  
  31. You move the man with the mouse or the keyboard. Keyboard movement is done with arrow keys, "2468" or "hjkl". Clicking with the mouse in a neighbor square has the same effect as pressing keys.
  32.  
  33. The man can move the gold bags by pushing them in front of himself, one at a time. This of course means that if you push it into a corner, it is stuck. If you get stuck (which will happen frequently) you can restart the level from the Edit menu. You can also save a position with "Copy" and restore it with "Paste". "Undo" is supported for the last move.
  34.  
  35. If you press the control key while pressing a key or clicking, the man will move as far as possible in the chosen direction. If you press shift instead, he will move and push as far as possible.
  36.  
  37. If you click the mouse somewhere but the closest positions, the path-finding algorithm is activated, and the man will go to that position if there is an open path there.
  38.  
  39. When moving using the mouse, you can click-and-drag to make several moves in a sequence by holding the mouse button down while moving.
  40.  
  41. 3. Statistics
  42.  
  43. The object of the game is to solve all levels. Does this mean that the game is over when you have reached level 50 (or level 35 in the "Extra" file)? Not necessarily. The game keeps records of the lowest number of moves and pushes used for each level, so you can try to find better ways to solve levels. The "Fiddle" menu is intended for fiddling around with theese things. Choose "Show statistics window" to see the number of moves you are using when playing. If you get a new record, it will be indicated in the Statistics window.
  44.  
  45. Please note that this "optimizing" should not be considered the main point with the game. Solve first, optimize later if you think that is fun.
  46.  
  47. 4. Features
  48.  
  49. Version 1.0 wasn't very polished, since I didn't think it was that interesting to spend a lot of time on a "clone" program. However, version 2.0 is a lot more polished, and adds a lot of features.
  50.  
  51. Features in 1.0 that weren't in the Unix version:
  52.  
  53. Ñ Animation. Just simple, basic animation of the symbols over the white background. Still, better than "jumping" from grid position to grid position.
  54. Ñ Mouse support. You can shift-click and control-click just as well as using the keyboard, and, most important, a path finding algorithm is included, so you can click on the position you want to go to, and the game will find the shortest path and go there, if there is any path at all. (This feature is very nice on some levels where you need to go back and forth over large distances!)
  55. Ñ Sounds. The game plays a short tune each time you solve a level, as a reward (or is this rather a punishment?)
  56.  
  57. New features in 2.0:
  58.  
  59. Ñ Much nicer graphics.
  60. Ñ Real animation, that is, the man walks, turns, pushes, etc.
  61. Ñ Color.
  62. Ñ Standard levels built-in.
  63. Ñ External files for other levels.
  64. Ñ Lowest number of moves and pushes are stored for each level.
  65. Ñ It is possible to go back to levels you have previously solved.
  66. Ñ Click-and-drag movement. (Note that undo brings you back not to before the last push, but to the beginning of the entire click-and-drag!)
  67. Ñ A Diploma is made for players who solve all levels. It is put in the Clipboard so it can be pasted in some application that allows printing. (MacDraw, MacWrite, MS Word, etc.)
  68. Ñ A small stand-alone utility, 'MacSokoban score mover' is included. See section 7.
  69.  
  70. New in 2.1:
  71.  
  72. Ñ Revision of the sound routines. Occasionally, Macs running System 7 had probems with the sound. These problems should be solved now.
  73. Ñ Minor bug fixes.
  74.  
  75. Future plans:
  76.  
  77. If (if!) I find the time to work more on MacSokoban, I'm planning the following improvements:
  78. Ñ Multi-step undo.
  79. Ñ Graphical level editor.
  80. Ñ Better Score Mover (built-in?)
  81. Ñ Better melodies. (They are ok, but have wrong tempo in many places.)
  82. Ñ More levels. (This, you can help me with! Please send me any new levels you design.)
  83.  
  84. 5. Levels
  85.  
  86. The 50 original screens are built-in into MacSokoban. These levels are very good levels, well designed and ordered in increasing difficulty.
  87.  
  88. 35 other levels, who recently appeared in the latest reelase of XSokoban, is in a separate file, 'Extra'. You can play them by opening 'Extra' from the File menu.
  89.  
  90. You can make your own levels with a text editor (like BBEdit or TeachText). When you have made a level and want to try it, you can put it into the game with the "Import" command. (It is recommended that you put it into an external file, created with "New", to avoid changing the original set of levels.) You can also save levels to text files with 'Export'.
  91.  
  92. If you make your own external files, you can put a PICT resource (number 133) to be used as template for the Diploma to players who solve it. If the resource is nt present, no diploma is made. Use the PICT in the game file or in Extra as model.
  93.  
  94. The Unix version of Sokoban used a naming convention for screen files that was "screen." + level number, e.g. "screen.1". MacSokoban follows this convention when suggesting a name for exported levels, and it also tries to find the number of imported levels according to this naming convention. However, you can use any name you want as long as it doesn't have to work under the Unix version or under MacSokoban 1.0.
  95.  
  96. The following symbols are allowed:
  97.  
  98. space: Empty space.
  99. #: Wall.
  100. .: Destination position (to be filled with a gold bag).
  101. $: Gold bag starting on empty space.
  102. *: Gold bag starting on destination position
  103. @: Player starting on empty space.
  104. +: Player starting on destination position.
  105.  
  106. 6. Bugs, compatibility
  107.  
  108. The game modifies itself in order to keep records and options. This is very convenient as long as you don't try running the game from a read-only disk or a read-only file server. Sorry, you just can't do that. (On the positive side, you only have one file to store when you want to put it away for a while.) It is possible that AutoDoubler¬ and similar transparent compression tools can cause similar problems if MacSokoban is compressed with such a utility. A possible solution to this problem is to make an external file with all the 50 built-in levels.
  109.  
  110. 7. The 'MacSokoban score mover' utility
  111.  
  112. If you havn't played any previous version of MacSokoban, you can skip this section. If you do have an older version of MacSokoban, typically 1.0 to 1.0.3, and want to coninue from where you left, but using version 2.0, you can use the small utility 'MacSokoban score mover' to transfer the old scores to the new copy. Note that all scores in the new copy are erased. (Use a copy of your old MacSokoban game to avoid mistakes.) When you launch 'MacSokoban score mover', you get a welcome window. After clicking the 'copy' button, a Standard File dialog appear. Choose the *old* copy and click on 'open'. The dialog appears a second time. Choose the *new* copy and click 'open'. If everything goes well, the program quits and you can launch MacSokoban with your old scores and continue playing.
  113.  
  114. The current 'MacSokoban score mover' does only work correctly for levels up to 50. If you have a higher level, I'm sorry, but it can't handle it correctly (yet). On the other hand, levels 51 and up (now 1 and up in 'Extra') are much easier than the last levels up to 50, so I hope this is not a major inconvenience.
  115.  
  116. 8. References
  117.  
  118. The game originated as a game running under MS-DOS, as mentioned above. I first played the Unix Curses version, to which the author is unknown. The 35 extra levels were taken from Xsokoban, which is written by Joseph L. Traub (E-mail address below). The first 50 levels seems to be the same over all these versions. MacSokoban is made using only the levels and rules from the other versions. It was programmed from scratch.
  119.  
  120. There is one more Mac implementation of Sokoban, named "Sokoban" and is made by Scott Lindhurst. It was released two months after the 1.0 release of MacSokoban. (I was first!) Actually, Scott's game had a major influence on MacSokoban 2.0. This new version would probably never been made if there wasn't for Scott's game - at least if he hadn't claimed that his game was better. (Perhaps it was in some ways - like having the levels built-in, which MacSokoban 1.0 didn't have - but not any more.)
  121.  
  122. Finally, Sokoban fanatics should also try Blockade by Christer Ericson. It has a similar game mechanism, but is still quite different.
  123.  
  124. Other games for the Mac that I have made include:
  125.  
  126. Ñ Bikaka (hexagonal tetris)
  127. Ñ Bachman (related to Pacman)
  128. Ñ Slime Invaders (shoot'em up)
  129. Ñ Skiing Game (slalom)
  130. Ñ Hexmines (hexagonal Mines)
  131. Ñ Classic Daleks (Daleks the way I want it)
  132.  
  133. plus
  134.  
  135. Sprite Animation Toolkit (animation library - currently in beta test)
  136.  
  137. 9. Legal issues
  138.  
  139. This game is free of charge for personal use and non-commercial distribution on diskettes (2 MB or less) and BBS's. However, the game (but not the levels) are ⌐ Ingemar Ragnemalm 1992. Distribution for profit without my written permission is forbidden.
  140.  
  141. Shareware Authors Inc. owns the exclusive rights to the sale and distribution of this program on CD-ROM and all other high-capacity (over 2 MB) media. All other such distribution is strictly prohibited.
  142.  
  143. 10. More levels
  144.  
  145. You can make new levels with any text editor. Brief docs for how to do it are included in the game.
  146.  
  147. If you make new levels that you think are really good, please send them to me (E-mail address below) or to Joseph L. Traub (xsokoban programmer, E-mail address jtlo@andrew.cmu.edu). In the latter case, it will probably take longer until your files reach the Mac version. You can, of course, post levels separately if you can't reach any of us. If you want more levels, you might be able to find them in new releases of the Sokoban games on other platforms.
  148.  
  149. 11. Acknowledgements
  150.  
  151. The help from the testers, who found lots of strange bugs that I *really* thought I had fixed, is greatly appriciated, especially Bo Ragnemalm and Christer Pettersson, who solved all 85 levels, cokin%phakt.usc.edu, who found a particularly ugly bug in the last phase of the testing period for version 1.0, and Stefan Wrammerfors, who once again found one of the more obscure bugs. Also, thanks to the testers of 2.1, Chris Kidwell, N.W. Choe and others.
  152.  
  153. Several of the features in 2.0 was made after communication with Robert E. Maas. He pointed out the big difference between levels 1-50 and 51-85. The new levels are generally much easier than most levels in the original set, which makes them unsuitable as high levels. This was fixed by supporting external files. Robert also suggested movement by "click-and-drag". Margaret M. Jasiewicz suggested the "diploma". Other people have suggested improvements, like the statistics. I guess I have lost your names. Sorry if I did.
  154.  
  155. Ingemar Ragnemalm
  156. ingemar@isy.liu.se
  157.  
  158. Snail mail:
  159. Ingemar Ragnemalm
  160. PlÜjaregatan 73
  161. S-58330 LinkÜping
  162. SWEDEN
  163.  
  164.  
  165. Finally, a message from Shareware Authors, Inc, who have asked to distribute this program on a new CD-ROM:
  166.  
  167. __________________________________________
  168.  
  169. *This Text File Must Accompany All Distribution of This Program*
  170. __________
  171. SHAREWARE AUTHORS, INC owns the exclusive rights to the sale and distribution of this program on CD-ROM and all other high capacity (over 2MB) media. All other such distribution is strictly prohibited. Shareware Authors Inc., P. O. Box 640876, Kenner, LA 70064  USA
  172. __________
  173.  
  174.  
  175. Press Release for Shareware Authors Inc. & 
  176.      MacExclusives(TM) Most Useful & Fun Mac Programs CD-ROM
  177.  
  178.  
  179. (May 1, 1992) KENNER, LA -- Shareware Authors Inc. announced the upcoming publication of its first CD-ROM title as well as plans for a wide range of shareware author support services. Shareware Authors Inc. is an organization dedicated to the advancement of the shareware philosophy in the Macintosh world. The organization promotes the common good of Mac enthusiasts by sponsoring the upgrading of the best Macintosh shareware and freeware programs so that they remain compatible with new Macintosh models and system software releases. It also sponsors the creation of new shareware and freeware programs. Nearly all of the programs which participating SA Inc. authors release can be distributed through BBSs, online services, as well as by user groups on 800k or 1.44mb disks. However, many of the programs may only be distributed on CD-ROM discs by SA Inc., since it publishes the programs in this format so as to compensate the authors. A central registration hot-line is planned so that users of these programs can register the programs by phone with a credit card and inquire about upgrades.
  180.  
  181. What is most important is how SA Inc. supports Mac shareware authors worldwide. The majority of the profits from sales of SA Inc. CD-ROM discs are distributed to the authors themselves. No other publisher of shareware compilations on diskette or CD-ROM does this. SA Inc. also works closely with the National Home & School Macintosh User Group, a nonprofit corporation which distributes the  programs of over 200 authors worldwide through information services and networks, as well as by US mail to over 50 Macintosh(R) user groups. SA Inc. also provides quality control testing and feedback (bug reports/suggestions) for its participating authors. 
  182.  
  183. The first disc to be published by Shareware Authors Inc. is the MacExclusives(TM) - Most Useful & Fun Mac Programs CD. It is a compilation of over 150 of the most useful and fun Macintosh shareware and freeware programs -- checkbook manager to arcade game. Many of the programs are upgrades and new programs which can be included on no other CD-ROM disc. Also included on the CD is a large library of the latest demo versions of commercial Macintosh programs of all types. The CD also contains thousands of pages of Macintosh articles, reviews, and information via a collection of over 100 issues of publications such as Home & School Mac, RevUser, and TidBITS. The user interface is a modified and upgraded version of Digital Diversions Software Inc.'s acclaimed "Librarian" which provides descriptions, compatibility reports, and registration information about the programs, as well as the convenience to start most of the programs right from the "Librarian".  
  184.  
  185. Availability: Early July 1992. 
  186.  
  187. Suggested Retail Price: $49.00. 
  188. Price Direct From SA Inc.: $34.00 + $3.00 shipping/handling. 
  189. Outside the US & Canada include additional $4.00 for Air Mail postage.
  190. Special rates available for user groups and educational institutions
  191.  
  192. US and Canada: Checks & Money Orders in US$
  193. Other Countries: Checks & Money Orders drawn on US banks in US$
  194.                            or an International Postal Money Order in US$
  195.  
  196. Shareware and freeware authors may mail their programs to the address below to be considered for inclusion on future discs. Additional information about Shareware Authors Inc.'s CD-ROM discs may be obtained by sending a request to one of the addresses below to be put on the SA Inc. mailing list:
  197.  
  198. Contact:
  199. Bob Nordling                          America Online: AFC MacFun
  200. Shareware Authors Inc.         AppleLink: Home.School
  201. P. O. Box 640876                   CompuServe: 70521,1327
  202. Kenner, LA 70064  USA         Genie: R.Nordling1
  203. (504) 465-0685                    Internet: 70521.1327@compuserve.com
  204. (800) 879-1150
  205.